import { post } from '@/utils/request'

// 用户列表
export const apiUserList = (params?: any) => post('/users/admin/list', params)
// 用户新增
export const apiUserCreate = (params?: any) => post('/users/admin/create', params)
// 用户编辑
export const apiUserUpdate = (params?: any) => post('/users/admin/update', params)
// 用户删除
export const apiUserDelete = (params?: any) => post('/users/admin/del', params)
// 权限列表
export const apiAuthList = (params?: any) => post('/users/admin/permission/list', params)
// 权限新增
export const apiAuthCreate = (params?: any) => post('/users/admin/permission/create', params)
// 权限编辑
export const apiAuthUpdate = (params?: any) => post('/users/admin/permission/update', params)
// 权限删除
export const apiAuthDelete = (params?: any) => post('/users/admin/permission/del', params)
// 角色列表
export const apiRoleList = (params?: any) => post('/users/admin/role/list', params)
// 角色新增
export const apiRoleCreate = (params?: any) => post('/users/admin/role/create', params)
// 角色编辑
export const apiRoleUpdate = (params?: any) => post('/users/admin/role/update', params)
// 角色删除
export const apiRoleDelete = (params?: any) => post('/users/admin/role/del', params)
